/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.hibernate.pojo;

/**
 * @author Anatol Pomozov
 * @hibernate.class table="array_table"
 */
public class PrimitiveArrayMapping {
    private int[] intArray;

    public void setIntArray(int[] intArray) {
        this.intArray = intArray;
    }

    /**
     * @hibernate.primitive-array table="int_array" access="method"
     * @hibernate.key
     * @hibernate.key-column name="id" length="16"
     * @hibernate.list-index column="i"
     * @hibernate.element column="j" type="int"
     */
    public int[] getIntArray() {
        return intArray;
    }
}